﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;

namespace TimedTask.Models
{
    public class WeatherInfo
    {
        [JsonProperty(PropertyName = "city")]
        public string City { set; get; }
        [JsonProperty(PropertyName = "aqi")]
        public int Aqi { set; get; }
        /// <summary>
        /// 天气概要信息
        /// </summary>
        [JsonProperty(PropertyName = "ganmao")]
        public string Summary { set; get; }
        /// <summary>
        /// 当前温度
        /// </summary>
        [JsonProperty(PropertyName = "wendu")]
        public string CurrWenDu { set; get; }
        [JsonProperty(PropertyName = "forecast")]
        public List<WeatherDay> WeatherDays { set; get; }

        /// <summary>
        /// 当前日期
        /// </summary>
        public string Date { set; get; }
        /// <summary>
        /// 温度
        /// </summary>
        public string Temperature { set; get; }
        /// <summary>
        /// 天气图片
        /// </summary>
        public String Image { set; get; }
        /// <summary>
        /// 天气类别，如：多云
        /// </summary>
        public String Type { set; get; }
    }
}
